package com.zj.apigateway.common;

import java.util.Date;

/**
 * @Auther: zj
 * @Date: 2018/11/13 16:57
 * @Description:
 */

public class User {

    private Integer id;

    private String username;

    private String password;

    private String email;

    private Integer hasFreeze;//是否被冻结

    private Date createTime;

    private String role;//权限

    private String apiKey;//api-key

    public User() {

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getHasFreeze() {
        return hasFreeze;
    }

    public void setHasFreeze(Integer hasFreeze) {
        hasFreeze = hasFreeze;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }
}
